<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
 <%@ taglib prefix="s" uri="/struts-tags" %>
<style>
	#sucessMessage {
    text-align: center;
    font-weight: bolder;
    color:  #6A2A91;
    list-style: none;
    margin: auto;
}

.errorMessage {
    text-align: center;
    font-weight: bolder;
    color: red;
    list-style: none;
    width: 350px;
    margin: auto;
}
	body { 
    margin: 0 auto; 
    background: #f5f5f5; 	
    color: #555;	 
    width: 800px; 
 
    /* make reference to the Yanone Kaffeesatz font */
    font-family: 'Yanone Kaffeesatz', arial, sans-serif;
	}
	label {	
	    font-size: 20px;
	    color: #666; 
	}
	form { 
	    float: left;
	    border: 1px solid #ddd; 
	    padding: 30px 40px 20px 40px; 
	    margin: 75px 0 0 0;
	    width: 715px;
	    background: #fff;
	}
</style>

	<s:form action="altaCliente" namespace="/clientes">
		<s:div>
			<s:actionerror />
		</s:div>		
		<s:textfield key="clienteDTO.dni" label="%{getText('clientes.dni')}" required="true"/>
		<s:textfield key="clienteDTO.nombre" label="%{getText('clientes.nombre')}" required="true"/>
		<s:textfield key="clienteDTO.apellido" label="%{getText('clientes.apellido')}" required="true"/>
		<s:textfield key="clienteDTO.direccion" label="%{getText('clientes.direccion')}" required="true"/>
		<s:textfield key="clienteDTO.mail" label="%{getText('clientes.mail')}" />
		<s:textfield key="clienteDTO.clave" label="%{getText('clientes.clave')}" required="true"/>
		<s:div>
			<s:submit action="altaCliente" key="btn.aceptar"/>
			<s:reset key="btn.cancelar"></s:reset>
		</s:div>
	</s:form>
